package com.es.elasticsearch.service;


import com.es.elasticsearch.model.item.AuthUserRecords;

import java.util.List;
import java.util.Map;

/**
 * 预案管理service接口
 */
public interface IPlanManagementService {
    /**
     * 新增预案
     *
     * @param paramMap
     * @return
     */
    Integer savePlan(Map<String, Object> paramMap);

    void addPlan(Map<String, Object> paramMap) throws Exception;

    void deletePlan(Integer id) throws Exception;

    AuthUserRecords getRecordListByPlanId(Integer id) throws Exception;

    //更新预案
    void  updatePlan(Map<String, Object> paramMap)throws Exception;
}
